﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Prism.WebBuilder.Processors.Base;

namespace Prism.WebBuilder.Processors
{
	public class Trace : ProcessorBase
	{
		private string _name;

		public Trace Init(string name)
		{
			_name = name;
			return this;
		}

		public override void Process()
		{
			GetObject(_name).Trace(new TracingOptions());
			base.Process();
		}
	}
}
